package com.lwy.qiuchao.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lwy.common.utils.PageUtils;
import com.lwy.qiuchao.member.entity.MemeberEntity;
import com.lwy.qiuchao.member.vo.MemberInfoVo;
import com.lwy.qiuchao.member.vo.MemberLoginVo;
import com.lwy.qiuchao.member.vo.MemberRegistVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 
 *
 * @author lwy
 * @email ${email}
 * @date 2020-12-01 15:38:12
 */
public interface MemeberService extends IService<MemeberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regist(MemberRegistVo memeberRegistVo);

    MemberInfoVo getMemberInfo(Long mId);

    MemeberEntity login(MemberLoginVo memberLoginVo);


    MemeberEntity hasToken(String memberLoginVo);

    MemeberEntity memberInfoByToken(String token);

    int modifyInfo(MemeberEntity memeberEntity);



}

